package com.sunny.fetch.pojo;

import java.util.ArrayList;
import java.util.List;

public class FMoneyflowHsgtExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public FMoneyflowHsgtExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andTidIsNull() {
            addCriterion("tid is null");
            return (Criteria) this;
        }

        public Criteria andTidIsNotNull() {
            addCriterion("tid is not null");
            return (Criteria) this;
        }

        public Criteria andTidEqualTo(Long value) {
            addCriterion("tid =", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotEqualTo(Long value) {
            addCriterion("tid <>", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidGreaterThan(Long value) {
            addCriterion("tid >", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidGreaterThanOrEqualTo(Long value) {
            addCriterion("tid >=", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidLessThan(Long value) {
            addCriterion("tid <", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidLessThanOrEqualTo(Long value) {
            addCriterion("tid <=", value, "tid");
            return (Criteria) this;
        }

        public Criteria andTidIn(List<Long> values) {
            addCriterion("tid in", values, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotIn(List<Long> values) {
            addCriterion("tid not in", values, "tid");
            return (Criteria) this;
        }

        public Criteria andTidBetween(Long value1, Long value2) {
            addCriterion("tid between", value1, value2, "tid");
            return (Criteria) this;
        }

        public Criteria andTidNotBetween(Long value1, Long value2) {
            addCriterion("tid not between", value1, value2, "tid");
            return (Criteria) this;
        }

        public Criteria andTradeDateIsNull() {
            addCriterion("trade_date is null");
            return (Criteria) this;
        }

        public Criteria andTradeDateIsNotNull() {
            addCriterion("trade_date is not null");
            return (Criteria) this;
        }

        public Criteria andTradeDateEqualTo(String value) {
            addCriterion("trade_date =", value, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateNotEqualTo(String value) {
            addCriterion("trade_date <>", value, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateGreaterThan(String value) {
            addCriterion("trade_date >", value, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateGreaterThanOrEqualTo(String value) {
            addCriterion("trade_date >=", value, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateLessThan(String value) {
            addCriterion("trade_date <", value, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateLessThanOrEqualTo(String value) {
            addCriterion("trade_date <=", value, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateLike(String value) {
            addCriterion("trade_date like", value, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateNotLike(String value) {
            addCriterion("trade_date not like", value, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateIn(List<String> values) {
            addCriterion("trade_date in", values, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateNotIn(List<String> values) {
            addCriterion("trade_date not in", values, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateBetween(String value1, String value2) {
            addCriterion("trade_date between", value1, value2, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andTradeDateNotBetween(String value1, String value2) {
            addCriterion("trade_date not between", value1, value2, "tradeDate");
            return (Criteria) this;
        }

        public Criteria andGgtSsIsNull() {
            addCriterion("ggt_ss is null");
            return (Criteria) this;
        }

        public Criteria andGgtSsIsNotNull() {
            addCriterion("ggt_ss is not null");
            return (Criteria) this;
        }

        public Criteria andGgtSsEqualTo(Float value) {
            addCriterion("ggt_ss =", value, "ggtSs");
            return (Criteria) this;
        }

        public Criteria andGgtSsNotEqualTo(Float value) {
            addCriterion("ggt_ss <>", value, "ggtSs");
            return (Criteria) this;
        }

        public Criteria andGgtSsGreaterThan(Float value) {
            addCriterion("ggt_ss >", value, "ggtSs");
            return (Criteria) this;
        }

        public Criteria andGgtSsGreaterThanOrEqualTo(Float value) {
            addCriterion("ggt_ss >=", value, "ggtSs");
            return (Criteria) this;
        }

        public Criteria andGgtSsLessThan(Float value) {
            addCriterion("ggt_ss <", value, "ggtSs");
            return (Criteria) this;
        }

        public Criteria andGgtSsLessThanOrEqualTo(Float value) {
            addCriterion("ggt_ss <=", value, "ggtSs");
            return (Criteria) this;
        }

        public Criteria andGgtSsIn(List<Float> values) {
            addCriterion("ggt_ss in", values, "ggtSs");
            return (Criteria) this;
        }

        public Criteria andGgtSsNotIn(List<Float> values) {
            addCriterion("ggt_ss not in", values, "ggtSs");
            return (Criteria) this;
        }

        public Criteria andGgtSsBetween(Float value1, Float value2) {
            addCriterion("ggt_ss between", value1, value2, "ggtSs");
            return (Criteria) this;
        }

        public Criteria andGgtSsNotBetween(Float value1, Float value2) {
            addCriterion("ggt_ss not between", value1, value2, "ggtSs");
            return (Criteria) this;
        }

        public Criteria andGgtSzIsNull() {
            addCriterion("ggt_sz is null");
            return (Criteria) this;
        }

        public Criteria andGgtSzIsNotNull() {
            addCriterion("ggt_sz is not null");
            return (Criteria) this;
        }

        public Criteria andGgtSzEqualTo(Float value) {
            addCriterion("ggt_sz =", value, "ggtSz");
            return (Criteria) this;
        }

        public Criteria andGgtSzNotEqualTo(Float value) {
            addCriterion("ggt_sz <>", value, "ggtSz");
            return (Criteria) this;
        }

        public Criteria andGgtSzGreaterThan(Float value) {
            addCriterion("ggt_sz >", value, "ggtSz");
            return (Criteria) this;
        }

        public Criteria andGgtSzGreaterThanOrEqualTo(Float value) {
            addCriterion("ggt_sz >=", value, "ggtSz");
            return (Criteria) this;
        }

        public Criteria andGgtSzLessThan(Float value) {
            addCriterion("ggt_sz <", value, "ggtSz");
            return (Criteria) this;
        }

        public Criteria andGgtSzLessThanOrEqualTo(Float value) {
            addCriterion("ggt_sz <=", value, "ggtSz");
            return (Criteria) this;
        }

        public Criteria andGgtSzIn(List<Float> values) {
            addCriterion("ggt_sz in", values, "ggtSz");
            return (Criteria) this;
        }

        public Criteria andGgtSzNotIn(List<Float> values) {
            addCriterion("ggt_sz not in", values, "ggtSz");
            return (Criteria) this;
        }

        public Criteria andGgtSzBetween(Float value1, Float value2) {
            addCriterion("ggt_sz between", value1, value2, "ggtSz");
            return (Criteria) this;
        }

        public Criteria andGgtSzNotBetween(Float value1, Float value2) {
            addCriterion("ggt_sz not between", value1, value2, "ggtSz");
            return (Criteria) this;
        }

        public Criteria andHgtIsNull() {
            addCriterion("hgt is null");
            return (Criteria) this;
        }

        public Criteria andHgtIsNotNull() {
            addCriterion("hgt is not null");
            return (Criteria) this;
        }

        public Criteria andHgtEqualTo(Float value) {
            addCriterion("hgt =", value, "hgt");
            return (Criteria) this;
        }

        public Criteria andHgtNotEqualTo(Float value) {
            addCriterion("hgt <>", value, "hgt");
            return (Criteria) this;
        }

        public Criteria andHgtGreaterThan(Float value) {
            addCriterion("hgt >", value, "hgt");
            return (Criteria) this;
        }

        public Criteria andHgtGreaterThanOrEqualTo(Float value) {
            addCriterion("hgt >=", value, "hgt");
            return (Criteria) this;
        }

        public Criteria andHgtLessThan(Float value) {
            addCriterion("hgt <", value, "hgt");
            return (Criteria) this;
        }

        public Criteria andHgtLessThanOrEqualTo(Float value) {
            addCriterion("hgt <=", value, "hgt");
            return (Criteria) this;
        }

        public Criteria andHgtIn(List<Float> values) {
            addCriterion("hgt in", values, "hgt");
            return (Criteria) this;
        }

        public Criteria andHgtNotIn(List<Float> values) {
            addCriterion("hgt not in", values, "hgt");
            return (Criteria) this;
        }

        public Criteria andHgtBetween(Float value1, Float value2) {
            addCriterion("hgt between", value1, value2, "hgt");
            return (Criteria) this;
        }

        public Criteria andHgtNotBetween(Float value1, Float value2) {
            addCriterion("hgt not between", value1, value2, "hgt");
            return (Criteria) this;
        }

        public Criteria andSgtIsNull() {
            addCriterion("sgt is null");
            return (Criteria) this;
        }

        public Criteria andSgtIsNotNull() {
            addCriterion("sgt is not null");
            return (Criteria) this;
        }

        public Criteria andSgtEqualTo(Float value) {
            addCriterion("sgt =", value, "sgt");
            return (Criteria) this;
        }

        public Criteria andSgtNotEqualTo(Float value) {
            addCriterion("sgt <>", value, "sgt");
            return (Criteria) this;
        }

        public Criteria andSgtGreaterThan(Float value) {
            addCriterion("sgt >", value, "sgt");
            return (Criteria) this;
        }

        public Criteria andSgtGreaterThanOrEqualTo(Float value) {
            addCriterion("sgt >=", value, "sgt");
            return (Criteria) this;
        }

        public Criteria andSgtLessThan(Float value) {
            addCriterion("sgt <", value, "sgt");
            return (Criteria) this;
        }

        public Criteria andSgtLessThanOrEqualTo(Float value) {
            addCriterion("sgt <=", value, "sgt");
            return (Criteria) this;
        }

        public Criteria andSgtIn(List<Float> values) {
            addCriterion("sgt in", values, "sgt");
            return (Criteria) this;
        }

        public Criteria andSgtNotIn(List<Float> values) {
            addCriterion("sgt not in", values, "sgt");
            return (Criteria) this;
        }

        public Criteria andSgtBetween(Float value1, Float value2) {
            addCriterion("sgt between", value1, value2, "sgt");
            return (Criteria) this;
        }

        public Criteria andSgtNotBetween(Float value1, Float value2) {
            addCriterion("sgt not between", value1, value2, "sgt");
            return (Criteria) this;
        }

        public Criteria andNorthMoneyIsNull() {
            addCriterion("north_money is null");
            return (Criteria) this;
        }

        public Criteria andNorthMoneyIsNotNull() {
            addCriterion("north_money is not null");
            return (Criteria) this;
        }

        public Criteria andNorthMoneyEqualTo(Float value) {
            addCriterion("north_money =", value, "northMoney");
            return (Criteria) this;
        }

        public Criteria andNorthMoneyNotEqualTo(Float value) {
            addCriterion("north_money <>", value, "northMoney");
            return (Criteria) this;
        }

        public Criteria andNorthMoneyGreaterThan(Float value) {
            addCriterion("north_money >", value, "northMoney");
            return (Criteria) this;
        }

        public Criteria andNorthMoneyGreaterThanOrEqualTo(Float value) {
            addCriterion("north_money >=", value, "northMoney");
            return (Criteria) this;
        }

        public Criteria andNorthMoneyLessThan(Float value) {
            addCriterion("north_money <", value, "northMoney");
            return (Criteria) this;
        }

        public Criteria andNorthMoneyLessThanOrEqualTo(Float value) {
            addCriterion("north_money <=", value, "northMoney");
            return (Criteria) this;
        }

        public Criteria andNorthMoneyIn(List<Float> values) {
            addCriterion("north_money in", values, "northMoney");
            return (Criteria) this;
        }

        public Criteria andNorthMoneyNotIn(List<Float> values) {
            addCriterion("north_money not in", values, "northMoney");
            return (Criteria) this;
        }

        public Criteria andNorthMoneyBetween(Float value1, Float value2) {
            addCriterion("north_money between", value1, value2, "northMoney");
            return (Criteria) this;
        }

        public Criteria andNorthMoneyNotBetween(Float value1, Float value2) {
            addCriterion("north_money not between", value1, value2, "northMoney");
            return (Criteria) this;
        }

        public Criteria andSouthMoneyIsNull() {
            addCriterion("south_money is null");
            return (Criteria) this;
        }

        public Criteria andSouthMoneyIsNotNull() {
            addCriterion("south_money is not null");
            return (Criteria) this;
        }

        public Criteria andSouthMoneyEqualTo(Float value) {
            addCriterion("south_money =", value, "southMoney");
            return (Criteria) this;
        }

        public Criteria andSouthMoneyNotEqualTo(Float value) {
            addCriterion("south_money <>", value, "southMoney");
            return (Criteria) this;
        }

        public Criteria andSouthMoneyGreaterThan(Float value) {
            addCriterion("south_money >", value, "southMoney");
            return (Criteria) this;
        }

        public Criteria andSouthMoneyGreaterThanOrEqualTo(Float value) {
            addCriterion("south_money >=", value, "southMoney");
            return (Criteria) this;
        }

        public Criteria andSouthMoneyLessThan(Float value) {
            addCriterion("south_money <", value, "southMoney");
            return (Criteria) this;
        }

        public Criteria andSouthMoneyLessThanOrEqualTo(Float value) {
            addCriterion("south_money <=", value, "southMoney");
            return (Criteria) this;
        }

        public Criteria andSouthMoneyIn(List<Float> values) {
            addCriterion("south_money in", values, "southMoney");
            return (Criteria) this;
        }

        public Criteria andSouthMoneyNotIn(List<Float> values) {
            addCriterion("south_money not in", values, "southMoney");
            return (Criteria) this;
        }

        public Criteria andSouthMoneyBetween(Float value1, Float value2) {
            addCriterion("south_money between", value1, value2, "southMoney");
            return (Criteria) this;
        }

        public Criteria andSouthMoneyNotBetween(Float value1, Float value2) {
            addCriterion("south_money not between", value1, value2, "southMoney");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}